home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "ClientMain"
- Option Explicit
-
- Global goBookSaleSvrInst As Object ' Object ref to BookSale Server Business Object
- Global goStatusPanel As Object ' Object ref to Panel1 of Status bar.
-
- Global gstrPubRevenue As String
- Global gstrAuthorRoyalty As String
- Global gstrDBName As String ' Holds a string that refers to the global database
-
- Global gDB As Database ' Object ref to the global database
- Global gSn As Recordset
-
- Sub Main()
-
- On Error GoTo MainError
-
- 'This assumes that the booksale database is in current directory. Refer to the
- 'form_load code for frmRevenue to see how this is handled.
- gstrDBName = "booksale.mdb"
-
- Load frmRevenue
-
- Exit Sub
-
- MainError:
- MsgBox Error$ & " - " & Str$(Err), vbCritical, "BookSale Client Startup Error"
- Exit Sub
-
- End Sub
-
-